<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: cy_stc_ctdac_config_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structcy__stc__ctdac__config__t.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">cy_stc_ctdac_config_t Struct Reference<div class="ingroups"><a class="el" href="group__group__ctdac.html">CTDAC        (Continuous Time Digital to Analog Converter)</a> &raquo; <a class="el" href="group__group__ctdac__data__structures.html">Data Structures</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Description</h2>
<div class="textblock"><p>Configuration structure to set up the entire CTDAC block to be used with <a class="el" href="group__group__ctdac__functions__init.html#ga09e11de95212716c56148f93ba65df41">Cy_CTDAC_Init</a>. </p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a1e0193a5e1c4bab69bf7ba379e5970e5"><td class="memItemLeft" align="right" valign="top"><a id="a1e0193a5e1c4bab69bf7ba379e5970e5"></a>
<a class="el" href="group__group__ctdac__enums.html#ga9c4416c55b96c81979223ec469eb7e0e">cy_en_ctdac_ref_source_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a1e0193a5e1c4bab69bf7ba379e5970e5">refSource</a></td></tr>
<tr class="memdesc:a1e0193a5e1c4bab69bf7ba379e5970e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference source: Vdda or externally through Opamp1 of CTB. <br /></td></tr>
<tr class="separator:a1e0193a5e1c4bab69bf7ba379e5970e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abee0ff9ae45040a0816a7e25d4303264"><td class="memItemLeft" align="right" valign="top"><a id="abee0ff9ae45040a0816a7e25d4303264"></a>
<a class="el" href="group__group__ctdac__enums.html#ga52a4e5920c369f3cc51b3618668f02e0">cy_en_ctdac_format_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#abee0ff9ae45040a0816a7e25d4303264">formatMode</a></td></tr>
<tr class="memdesc:abee0ff9ae45040a0816a7e25d4303264"><td class="mdescLeft">&#160;</td><td class="mdescRight">Format of DAC value: signed or unsigned. <br /></td></tr>
<tr class="separator:abee0ff9ae45040a0816a7e25d4303264"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69522cfeec61c2287cd1a830d45c5d15"><td class="memItemLeft" align="right" valign="top"><a id="a69522cfeec61c2287cd1a830d45c5d15"></a>
<a class="el" href="group__group__ctdac__enums.html#ga9c7cd756a8fb870da1b75887a7d0e667">cy_en_ctdac_update_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a69522cfeec61c2287cd1a830d45c5d15">updateMode</a></td></tr>
<tr class="memdesc:a69522cfeec61c2287cd1a830d45c5d15"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update mode: direct or buffered writes or hardware, edge or level. <br /></td></tr>
<tr class="separator:a69522cfeec61c2287cd1a830d45c5d15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fe96ff8856cf4ba20f1037a73c6092c"><td class="memItemLeft" align="right" valign="top"><a id="a1fe96ff8856cf4ba20f1037a73c6092c"></a>
<a class="el" href="group__group__ctdac__enums.html#gaa5bbaaf21bda846a109573f84f1e2735">cy_en_ctdac_deglitch_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a1fe96ff8856cf4ba20f1037a73c6092c">deglitchMode</a></td></tr>
<tr class="memdesc:a1fe96ff8856cf4ba20f1037a73c6092c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deglitch mode: disabled, buffered, unbuffered, or both. <br /></td></tr>
<tr class="separator:a1fe96ff8856cf4ba20f1037a73c6092c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a476cbfb0637fc0b5ab977603acfb650d"><td class="memItemLeft" align="right" valign="top"><a id="a476cbfb0637fc0b5ab977603acfb650d"></a>
<a class="el" href="group__group__ctdac__enums.html#ga151d4aa27fabb95182a2494782994ccb">cy_en_ctdac_output_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a476cbfb0637fc0b5ab977603acfb650d">outputMode</a></td></tr>
<tr class="memdesc:a476cbfb0637fc0b5ab977603acfb650d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output mode: enabled (value or value + 1), high-z, Vssa, or Vdda. <br /></td></tr>
<tr class="separator:a476cbfb0637fc0b5ab977603acfb650d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f80e68bce9f56439d398758b9f001ac"><td class="memItemLeft" align="right" valign="top"><a id="a3f80e68bce9f56439d398758b9f001ac"></a>
<a class="el" href="group__group__ctdac__enums.html#gaa51b6ab267228b6cd7db22b8e1174b17">cy_en_ctdac_output_buffer_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a3f80e68bce9f56439d398758b9f001ac">outputBuffer</a></td></tr>
<tr class="memdesc:a3f80e68bce9f56439d398758b9f001ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output path: Buffered through Opamp0 of CTB or connected directly to Pin 6. <br /></td></tr>
<tr class="separator:a3f80e68bce9f56439d398758b9f001ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3536fe7b75cf86b25c95de5548b79a68"><td class="memItemLeft" align="right" valign="top"><a id="a3536fe7b75cf86b25c95de5548b79a68"></a>
<a class="el" href="group__group__ctdac__enums.html#ga08fecfbfc0d670966ae1aabe0db5ff2a">cy_en_ctdac_deep_sleep_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a3536fe7b75cf86b25c95de5548b79a68">deepSleep</a></td></tr>
<tr class="memdesc:a3536fe7b75cf86b25c95de5548b79a68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable or disable the CTDAC during Deep Sleep. <br /></td></tr>
<tr class="separator:a3536fe7b75cf86b25c95de5548b79a68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a951116b34a704ccb2c0bdb1a6b46ffa6"><td class="memItemLeft" align="right" valign="top"><a id="a951116b34a704ccb2c0bdb1a6b46ffa6"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a951116b34a704ccb2c0bdb1a6b46ffa6">deglitchCycles</a></td></tr>
<tr class="memdesc:a951116b34a704ccb2c0bdb1a6b46ffa6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of deglitch cycles from 0 to 63. <br /></td></tr>
<tr class="separator:a951116b34a704ccb2c0bdb1a6b46ffa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a480510a7247ef1aac46af3045b68dc7d"><td class="memItemLeft" align="right" valign="top"><a id="a480510a7247ef1aac46af3045b68dc7d"></a>
int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a480510a7247ef1aac46af3045b68dc7d">value</a></td></tr>
<tr class="memdesc:a480510a7247ef1aac46af3045b68dc7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current DAC value. <br /></td></tr>
<tr class="separator:a480510a7247ef1aac46af3045b68dc7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a807b2f1b4a043dd458bdf9655e40a2aa"><td class="memItemLeft" align="right" valign="top"><a id="a807b2f1b4a043dd458bdf9655e40a2aa"></a>
int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a807b2f1b4a043dd458bdf9655e40a2aa">nextValue</a></td></tr>
<tr class="memdesc:a807b2f1b4a043dd458bdf9655e40a2aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Next DAC value for double buffering. <br /></td></tr>
<tr class="separator:a807b2f1b4a043dd458bdf9655e40a2aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06955a19ff939142f6b01cd0870b84ac"><td class="memItemLeft" align="right" valign="top"><a id="a06955a19ff939142f6b01cd0870b84ac"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a06955a19ff939142f6b01cd0870b84ac">enableInterrupt</a></td></tr>
<tr class="memdesc:a06955a19ff939142f6b01cd0870b84ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">If true, enable interrupt when next value register is transferred to value register. <br /></td></tr>
<tr class="separator:a06955a19ff939142f6b01cd0870b84ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d70315d932e60eed59126efcb3e1f9f"><td class="memItemLeft" align="right" valign="top"><a id="a9d70315d932e60eed59126efcb3e1f9f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a9d70315d932e60eed59126efcb3e1f9f">configClock</a></td></tr>
<tr class="memdesc:a9d70315d932e60eed59126efcb3e1f9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure or ignore clock information. <br /></td></tr>
<tr class="separator:a9d70315d932e60eed59126efcb3e1f9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59aeb60e915cbc4c58db0258373f4b24"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a59aeb60e915cbc4c58db0258373f4b24">dividerType</a></td></tr>
<tr class="memdesc:a59aeb60e915cbc4c58db0258373f4b24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies which type of divider to use.  <a href="#a59aeb60e915cbc4c58db0258373f4b24">More...</a><br /></td></tr>
<tr class="separator:a59aeb60e915cbc4c58db0258373f4b24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab1330e571aa98f705e5ad42325dc598"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#aab1330e571aa98f705e5ad42325dc598">dividerNum</a></td></tr>
<tr class="memdesc:aab1330e571aa98f705e5ad42325dc598"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies which divider of the selected type to configure.  <a href="#aab1330e571aa98f705e5ad42325dc598">More...</a><br /></td></tr>
<tr class="separator:aab1330e571aa98f705e5ad42325dc598"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9aaf2ce71017a448b93fafbaf77dab70"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a9aaf2ce71017a448b93fafbaf77dab70">dividerIntValue</a></td></tr>
<tr class="memdesc:a9aaf2ce71017a448b93fafbaf77dab70"><td class="mdescLeft">&#160;</td><td class="mdescRight">The integer divider value.  <a href="#a9aaf2ce71017a448b93fafbaf77dab70">More...</a><br /></td></tr>
<tr class="separator:a9aaf2ce71017a448b93fafbaf77dab70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a726ff40e2fbe90a2aea7ba87e631e71e"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__ctdac__config__t.html#a726ff40e2fbe90a2aea7ba87e631e71e">dividerFracValue</a></td></tr>
<tr class="memdesc:a726ff40e2fbe90a2aea7ba87e631e71e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The fractional divider value if using a fractional clock.  <a href="#a726ff40e2fbe90a2aea7ba87e631e71e">More...</a><br /></td></tr>
<tr class="separator:a726ff40e2fbe90a2aea7ba87e631e71e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Field Documentation</h2>
<a id="a59aeb60e915cbc4c58db0258373f4b24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59aeb60e915cbc4c58db0258373f4b24">&#9670;&nbsp;</a></span>dividerType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__sysclk__clk__peripheral__enums.html#ga06138349be16d91fd5d00ded2f4592b8">cy_en_divider_types_t</a> cy_stc_ctdac_config_t::dividerType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Specifies which type of divider to use. </p>
<p>Can be integer or fractional divider. Not used if updateMode is <a class="el" href="group__group__ctdac__enums.html#gga9c7cd756a8fb870da1b75887a7d0e667a0975349e7cb7b050960c73db3ea1ce7a">CY_CTDAC_UPDATE_DIRECT_WRITE</a> </p>

</div>
</div>
<a id="aab1330e571aa98f705e5ad42325dc598"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab1330e571aa98f705e5ad42325dc598">&#9670;&nbsp;</a></span>dividerNum</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cy_stc_ctdac_config_t::dividerNum</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Specifies which divider of the selected type to configure. </p>
<p>Not used if updateMode is <a class="el" href="group__group__ctdac__enums.html#gga9c7cd756a8fb870da1b75887a7d0e667a0975349e7cb7b050960c73db3ea1ce7a">CY_CTDAC_UPDATE_DIRECT_WRITE</a> </p>

</div>
</div>
<a id="a9aaf2ce71017a448b93fafbaf77dab70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9aaf2ce71017a448b93fafbaf77dab70">&#9670;&nbsp;</a></span>dividerIntValue</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cy_stc_ctdac_config_t::dividerIntValue</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The integer divider value. </p>
<p>The divider value causes integer division of (divider value + 1). Not used if updateMode is <a class="el" href="group__group__ctdac__enums.html#gga9c7cd756a8fb870da1b75887a7d0e667a0975349e7cb7b050960c73db3ea1ce7a">CY_CTDAC_UPDATE_DIRECT_WRITE</a> or <a class="el" href="group__group__ctdac__enums.html#gga9c7cd756a8fb870da1b75887a7d0e667af50eab5c52dd94711cb2dd4e5076a497">CY_CTDAC_UPDATE_STROBE_EDGE_IMMEDIATE</a> </p>

</div>
</div>
<a id="a726ff40e2fbe90a2aea7ba87e631e71e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a726ff40e2fbe90a2aea7ba87e631e71e">&#9670;&nbsp;</a></span>dividerFracValue</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cy_stc_ctdac_config_t::dividerFracValue</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The fractional divider value if using a fractional clock. </p>
<p>Not used if updateMode is <a class="el" href="group__group__ctdac__enums.html#gga9c7cd756a8fb870da1b75887a7d0e667a0975349e7cb7b050960c73db3ea1ce7a">CY_CTDAC_UPDATE_DIRECT_WRITE</a> or <a class="el" href="group__group__ctdac__enums.html#gga9c7cd756a8fb870da1b75887a7d0e667af50eab5c52dd94711cb2dd4e5076a497">CY_CTDAC_UPDATE_STROBE_EDGE_IMMEDIATE</a> </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
